package org.jeecg.common.modules.apiPermission.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * @author guoyh
 * @ClassName ApiPermission
 * @Description
 * @since 2020/8/11 00:00
 **/
@Data
@TableName("api_permission")
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "api_permission对象", description = "api_permission")
public class ApiPermission implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "id")
    private Long id;

    @TableField("url")
    private String url;

    @TableField("del_flag")
    private Integer delFlag;

    @TableField("business_id")
    private Integer businessId;
}
